<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkSmsTemplate
 *
 * @ORM\Table(name="tk_sms_template", indexes={@ORM\Index(name="vcc_index", columns={"vcc_id"})})
 * @ORM\Entity
 */
class TkSmsTemplate
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false, options={"comment"="企业ID"})
     */
    private $vccId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="vcc_code", type="string", length=150, nullable=false, options={"comment"="企业代码"})
     */
    private $vccCode = '';

    /**
     * @var string
     *
     * @ORM\Column(name="template_name", type="string", length=200, nullable=false, options={"comment"="模板名称"})
     */
    private $templateName = '';

    /**
     * @var string
     *
     * @ORM\Column(name="template_contents", type="text", length=0, nullable=false, options={"comment"="模板内容"})
     */
    private $templateContents;

    /**
     * @var string
     *
     * @ORM\Column(name="template_contents_pure", type="text", length=0, nullable=false, options={"comment"="模板内容无后缀"})
     */
    private $templateContentsPure;

    /**
     * @var int
     *
     * @ORM\Column(name="verify_result", type="smallint", nullable=false, options={"comment"="审核结果（0草稿1审核中2审核通过3审核未通过）"})
     */
    private $verifyResult = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="verify_fail_reason", type="string", length=255, nullable=false, options={"comment"="审核失败原因"})
     */
    private $verifyFailReason = '';

    /**
     * @var int
     *
     * @ORM\Column(name="create_user_id", type="integer", nullable=false, options={"comment"="创建人ID"})
     */
    private $createUserId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="create_user_name", type="string", length=150, nullable=false, options={"comment"="创建人名称"})
     */
    private $createUserName = '';

    /**
     * @var int
     *
     * @ORM\Column(name="create_time", type="integer", nullable=false, options={"comment"="创建时间"})
     */
    private $createTime = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="update_user_id", type="integer", nullable=false, options={"comment"="修改人ID"})
     */
    private $updateUserId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="update_user_name", type="string", length=150, nullable=false, options={"comment"="修改人名称"})
     */
    private $updateUserName = '';

    /**
     * @var int
     *
     * @ORM\Column(name="update_time", type="integer", nullable=false, options={"comment"="修改时间"})
     */
    private $updateTime = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="verify_user_id", type="integer", nullable=false, options={"comment"="审核人ID"})
     */
    private $verifyUserId;

    /**
     * @var string
     *
     * @ORM\Column(name="verify_user_name", type="string", length=150, nullable=false, options={"comment"="审核人名称"})
     */
    private $verifyUserName;

    /**
     * @var int
     *
     * @ORM\Column(name="verify_time", type="integer", nullable=false, options={"comment"="审核时间"})
     */
    private $verifyTime;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getVccId(): ?int
    {
        return $this->vccId;
    }

    public function setVccId(int $vccId): self
    {
        $this->vccId = $vccId;

        return $this;
    }

    public function getVccCode(): ?string
    {
        return $this->vccCode;
    }

    public function setVccCode(string $vccCode): self
    {
        $this->vccCode = $vccCode;

        return $this;
    }

    public function getTemplateName(): ?string
    {
        return $this->templateName;
    }

    public function setTemplateName(string $templateName): self
    {
        $this->templateName = $templateName;

        return $this;
    }

    public function getTemplateContents(): ?string
    {
        return $this->templateContents;
    }

    public function setTemplateContents(string $templateContents): self
    {
        $this->templateContents = $templateContents;

        return $this;
    }

    public function getTemplateContentsPure(): ?string
    {
        return $this->templateContentsPure;
    }

    public function setTemplateContentsPure(string $templateContentsPure): self
    {
        $this->templateContentsPure = $templateContentsPure;

        return $this;
    }

    public function getVerifyResult(): ?int
    {
        return $this->verifyResult;
    }

    public function setVerifyResult(int $verifyResult): self
    {
        $this->verifyResult = $verifyResult;

        return $this;
    }

    public function getVerifyFailReason(): ?string
    {
        return $this->verifyFailReason;
    }

    public function setVerifyFailReason(string $verifyFailReason): self
    {
        $this->verifyFailReason = $verifyFailReason;

        return $this;
    }

    public function getCreateUserId(): ?int
    {
        return $this->createUserId;
    }

    public function setCreateUserId(int $createUserId): self
    {
        $this->createUserId = $createUserId;

        return $this;
    }

    public function getCreateUserName(): ?string
    {
        return $this->createUserName;
    }

    public function setCreateUserName(string $createUserName): self
    {
        $this->createUserName = $createUserName;

        return $this;
    }

    public function getCreateTime(): ?int
    {
        return $this->createTime;
    }

    public function setCreateTime(int $createTime): self
    {
        $this->createTime = $createTime;

        return $this;
    }

    public function getUpdateUserId(): ?int
    {
        return $this->updateUserId;
    }

    public function setUpdateUserId(int $updateUserId): self
    {
        $this->updateUserId = $updateUserId;

        return $this;
    }

    public function getUpdateUserName(): ?string
    {
        return $this->updateUserName;
    }

    public function setUpdateUserName(string $updateUserName): self
    {
        $this->updateUserName = $updateUserName;

        return $this;
    }

    public function getUpdateTime(): ?int
    {
        return $this->updateTime;
    }

    public function setUpdateTime(int $updateTime): self
    {
        $this->updateTime = $updateTime;

        return $this;
    }

    public function getVerifyUserId(): ?int
    {
        return $this->verifyUserId;
    }

    public function setVerifyUserId(int $verifyUserId): self
    {
        $this->verifyUserId = $verifyUserId;

        return $this;
    }

    public function getVerifyUserName(): ?string
    {
        return $this->verifyUserName;
    }

    public function setVerifyUserName(string $verifyUserName): self
    {
        $this->verifyUserName = $verifyUserName;

        return $this;
    }

    public function getVerifyTime(): ?int
    {
        return $this->verifyTime;
    }

    public function setVerifyTime(int $verifyTime): self
    {
        $this->verifyTime = $verifyTime;

        return $this;
    }


}
